{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Importing PulP solver\n",
    "from pulp import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Demand points\n",
    "demand_points=['Port of Mersin','Port of Jebel Ali']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['Port of Mersin', 'Port of Jebel Ali']"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "demand_points"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the Supply Points\n",
    "supply_points=['Port of Buenos Aires','Port of Newcastle','Port of Hedland','Port of Vienna','Port of Antwerp','Port of Santos','Port of Montreal','Port of Vancouver','Port of Shanghai','Port of Hamburg_Czeck','Port of Alexandria','Port of Marseille','Port of Hamburg_Germany','Port of Budapest','Port of Jawaharlal Nehru','Port of Tanjung Priok','Port of Bandar Abbas','Port of Haifa','Port of Gioia Tauro','Port of Nagoya','Port of Aqaba','Port of Busan','Port of Manzanillo','Port of Casablanca','Port of Rotterdam','Port of Salalah','Port of Karachi','Port of Gdansk','Port of Doha','Port of Vladivostok','Port of Novorossiysk','Port of St. Petersburg','Port of King Abdul Aziz','Port of Jeddah','Port of Bratislava','Port of Durban','Port of Algeciras','Port of Gothenburg','Port of Latakia','Port of Kaohsiung','Port of Bangkok','Port of Mersin','Port of Odessa','Port of Jebel Ali','Port of Immingham','Port of New York','Port of Los Angeles','Port of Saigon']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['Port of Buenos Aires',\n",
       " 'Port of Newcastle',\n",
       " 'Port of Hedland',\n",
       " 'Port of Vienna',\n",
       " 'Port of Antwerp',\n",
       " 'Port of Santos',\n",
       " 'Port of Montreal',\n",
       " 'Port of Vancouver',\n",
       " 'Port of Shanghai',\n",
       " 'Port of Hamburg_Czeck',\n",
       " 'Port of Alexandria',\n",
       " 'Port of Marseille',\n",
       " 'Port of Hamburg_Germany',\n",
       " 'Port of Budapest',\n",
       " 'Port of Jawaharlal Nehru',\n",
       " 'Port of Tanjung Priok',\n",
       " 'Port of Bandar Abbas',\n",
       " 'Port of Haifa',\n",
       " 'Port of Gioia Tauro',\n",
       " 'Port of Nagoya',\n",
       " 'Port of Aqaba',\n",
       " 'Port of Busan',\n",
       " 'Port of Manzanillo',\n",
       " 'Port of Casablanca',\n",
       " 'Port of Rotterdam',\n",
       " 'Port of Salalah',\n",
       " 'Port of Karachi',\n",
       " 'Port of Gdansk',\n",
       " 'Port of Doha',\n",
       " 'Port of Vladivostok',\n",
       " 'Port of Novorossiysk',\n",
       " 'Port of St. Petersburg',\n",
       " 'Port of King Abdul Aziz',\n",
       " 'Port of Jeddah',\n",
       " 'Port of Bratislava',\n",
       " 'Port of Durban',\n",
       " 'Port of Algeciras',\n",
       " 'Port of Gothenburg',\n",
       " 'Port of Latakia',\n",
       " 'Port of Kaohsiung',\n",
       " 'Port of Bangkok',\n",
       " 'Port of Mersin',\n",
       " 'Port of Odessa',\n",
       " 'Port of Jebel Ali',\n",
       " 'Port of Immingham',\n",
       " 'Port of New York',\n",
       " 'Port of Los Angeles',\n",
       " 'Port of Saigon']"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "supply_points"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the distances\n",
    "distance = dict(zip(supply_points,[dict(zip(demand_points, [8606,9168])),\n",
    "dict(zip(demand_points, [10095,8290])),\n",
    "dict(zip(demand_points, [7584,5779])),\n",
    "dict(zip(demand_points, [2142,5475])),\n",
    "dict(zip(demand_points, [3664,6938])),\n",
    "dict(zip(demand_points, [7528,9407])),\n",
    "dict(zip(demand_points, [6195,9470])),\n",
    "dict(zip(demand_points, [12320,10440])),\n",
    "dict(zip(demand_points, [8546,6627])),\n",
    "dict(zip(demand_points, [4032,7306])),\n",
    "dict(zip(demand_points, [546,3396])),\n",
    "dict(zip(demand_points, [1806,5080])),\n",
    "dict(zip(demand_points, [4032,7306])),\n",
    "dict(zip(demand_points, [2028,5360])),\n",
    "dict(zip(demand_points, [3720,1335])),\n",
    "dict(zip(demand_points, [6210,4405])),\n",
    "dict(zip(demand_points, [3520,173])),\n",
    "dict(zip(demand_points, [233,3366])),\n",
    "dict(zip(demand_points, [1091,4366])),\n",
    "dict(zip(demand_points, [9424,7505])),\n",
    "dict(zip(demand_points, [778,2942])),\n",
    "dict(zip(demand_points, [9062,7143])),\n",
    "dict(zip(demand_points, [9516,12790])),\n",
    "dict(zip(demand_points, [2324,5598])),\n",
    "dict(zip(demand_points, [3755,7029])),\n",
    "dict(zip(demand_points, [2577,999])),\n",
    "dict(zip(demand_points, [3604,746])),\n",
    "dict(zip(demand_points, [4751,8025])),\n",
    "dict(zip(demand_points, [3763,187])),\n",
    "dict(zip(demand_points, [9645,7727])),\n",
    "dict(zip(demand_points, [1552,4885])),\n",
    "dict(zip(demand_points, [5258,8532])),\n",
    "dict(zip(demand_points, [3885,389])),\n",
    "dict(zip(demand_points, [1205,2371])),\n",
    "dict(zip(demand_points, [2130,5463])),\n",
    "dict(zip(demand_points, [5530,4572])),\n",
    "dict(zip(demand_points, [2102,5377])),\n",
    "dict(zip(demand_points, [4299,7573])),\n",
    "dict(zip(demand_points, [89,3580])),\n",
    "dict(zip(demand_points, [7981,6063])),\n",
    "dict(zip(demand_points, [6766,4847])),\n",
    "dict(zip(demand_points, [0,3576])),\n",
    "dict(zip(demand_points, [1370,4703])),\n",
    "dict(zip(demand_points, [3576,0])),\n",
    "dict(zip(demand_points, [3804,7080])),\n",
    "dict(zip(demand_points, [5617,8918])),\n",
    "dict(zip(demand_points, [11024,11116])),\n",
    "dict(zip(demand_points, [6628,4709]))]))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': {'Port of Mersin': 8606, 'Port of Jebel Ali': 9168},\n",
       " 'Port of Newcastle': {'Port of Mersin': 10095, 'Port of Jebel Ali': 8290},\n",
       " 'Port of Hedland': {'Port of Mersin': 7584, 'Port of Jebel Ali': 5779},\n",
       " 'Port of Vienna': {'Port of Mersin': 2142, 'Port of Jebel Ali': 5475},\n",
       " 'Port of Antwerp': {'Port of Mersin': 3664, 'Port of Jebel Ali': 6938},\n",
       " 'Port of Santos': {'Port of Mersin': 7528, 'Port of Jebel Ali': 9407},\n",
       " 'Port of Montreal': {'Port of Mersin': 6195, 'Port of Jebel Ali': 9470},\n",
       " 'Port of Vancouver': {'Port of Mersin': 12320, 'Port of Jebel Ali': 10440},\n",
       " 'Port of Shanghai': {'Port of Mersin': 8546, 'Port of Jebel Ali': 6627},\n",
       " 'Port of Hamburg_Czeck': {'Port of Mersin': 4032, 'Port of Jebel Ali': 7306},\n",
       " 'Port of Alexandria': {'Port of Mersin': 546, 'Port of Jebel Ali': 3396},\n",
       " 'Port of Marseille': {'Port of Mersin': 1806, 'Port of Jebel Ali': 5080},\n",
       " 'Port of Hamburg_Germany': {'Port of Mersin': 4032,\n",
       "  'Port of Jebel Ali': 7306},\n",
       " 'Port of Budapest': {'Port of Mersin': 2028, 'Port of Jebel Ali': 5360},\n",
       " 'Port of Jawaharlal Nehru': {'Port of Mersin': 3720,\n",
       "  'Port of Jebel Ali': 1335},\n",
       " 'Port of Tanjung Priok': {'Port of Mersin': 6210, 'Port of Jebel Ali': 4405},\n",
       " 'Port of Bandar Abbas': {'Port of Mersin': 3520, 'Port of Jebel Ali': 173},\n",
       " 'Port of Haifa': {'Port of Mersin': 233, 'Port of Jebel Ali': 3366},\n",
       " 'Port of Gioia Tauro': {'Port of Mersin': 1091, 'Port of Jebel Ali': 4366},\n",
       " 'Port of Nagoya': {'Port of Mersin': 9424, 'Port of Jebel Ali': 7505},\n",
       " 'Port of Aqaba': {'Port of Mersin': 778, 'Port of Jebel Ali': 2942},\n",
       " 'Port of Busan': {'Port of Mersin': 9062, 'Port of Jebel Ali': 7143},\n",
       " 'Port of Manzanillo': {'Port of Mersin': 9516, 'Port of Jebel Ali': 12790},\n",
       " 'Port of Casablanca': {'Port of Mersin': 2324, 'Port of Jebel Ali': 5598},\n",
       " 'Port of Rotterdam': {'Port of Mersin': 3755, 'Port of Jebel Ali': 7029},\n",
       " 'Port of Salalah': {'Port of Mersin': 2577, 'Port of Jebel Ali': 999},\n",
       " 'Port of Karachi': {'Port of Mersin': 3604, 'Port of Jebel Ali': 746},\n",
       " 'Port of Gdansk': {'Port of Mersin': 4751, 'Port of Jebel Ali': 8025},\n",
       " 'Port of Doha': {'Port of Mersin': 3763, 'Port of Jebel Ali': 187},\n",
       " 'Port of Vladivostok': {'Port of Mersin': 9645, 'Port of Jebel Ali': 7727},\n",
       " 'Port of Novorossiysk': {'Port of Mersin': 1552, 'Port of Jebel Ali': 4885},\n",
       " 'Port of St. Petersburg': {'Port of Mersin': 5258, 'Port of Jebel Ali': 8532},\n",
       " 'Port of King Abdul Aziz': {'Port of Mersin': 3885, 'Port of Jebel Ali': 389},\n",
       " 'Port of Jeddah': {'Port of Mersin': 1205, 'Port of Jebel Ali': 2371},\n",
       " 'Port of Bratislava': {'Port of Mersin': 2130, 'Port of Jebel Ali': 5463},\n",
       " 'Port of Durban': {'Port of Mersin': 5530, 'Port of Jebel Ali': 4572},\n",
       " 'Port of Algeciras': {'Port of Mersin': 2102, 'Port of Jebel Ali': 5377},\n",
       " 'Port of Gothenburg': {'Port of Mersin': 4299, 'Port of Jebel Ali': 7573},\n",
       " 'Port of Latakia': {'Port of Mersin': 89, 'Port of Jebel Ali': 3580},\n",
       " 'Port of Kaohsiung': {'Port of Mersin': 7981, 'Port of Jebel Ali': 6063},\n",
       " 'Port of Bangkok': {'Port of Mersin': 6766, 'Port of Jebel Ali': 4847},\n",
       " 'Port of Mersin': {'Port of Mersin': 0, 'Port of Jebel Ali': 3576},\n",
       " 'Port of Odessa': {'Port of Mersin': 1370, 'Port of Jebel Ali': 4703},\n",
       " 'Port of Jebel Ali': {'Port of Mersin': 3576, 'Port of Jebel Ali': 0},\n",
       " 'Port of Immingham': {'Port of Mersin': 3804, 'Port of Jebel Ali': 7080},\n",
       " 'Port of New York': {'Port of Mersin': 5617, 'Port of Jebel Ali': 8918},\n",
       " 'Port of Los Angeles': {'Port of Mersin': 11024, 'Port of Jebel Ali': 11116},\n",
       " 'Port of Saigon': {'Port of Mersin': 6628, 'Port of Jebel Ali': 4709}}"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "distance"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the HSS Demand\n",
    "HSS_demand=dict(zip(demand_points, [167434730.9,192529672.9]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Mersin': 167434730.9, 'Port of Jebel Ali': 192529672.9}"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "HSS_demand"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the HSS Supply\n",
    "HSS_supply=dict(zip(supply_points, [866877.0693,173144.9288,821572.1032,1773459.805,459052.6648,5883513.708,524041.6326,1760443.821,174549236.3,679520.2497,2083553.909,1090975.226,7439233.572,33423.521,36697735.91,1158608.705,12288124.19,55964.6881,4143159.023,16087392.42,26211.20016,12220325.9,3391773.351,94405.71585,1188401.541,345449.5083,581771.9193,1617356.557,857772.4871,7688763.821,3750207.916,3793349.172,587030.7966,330012.7357,828258.7044,1062704.488,2506427.832,1020455.739,6807.982054,3982299.048,742013.6356,5765276.992,81761.53917,715075.2826,1240430.535,9068509.538,6320971.137,21581546.32])) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': 866877.0693,\n",
       " 'Port of Newcastle': 173144.9288,\n",
       " 'Port of Hedland': 821572.1032,\n",
       " 'Port of Vienna': 1773459.805,\n",
       " 'Port of Antwerp': 459052.6648,\n",
       " 'Port of Santos': 5883513.708,\n",
       " 'Port of Montreal': 524041.6326,\n",
       " 'Port of Vancouver': 1760443.821,\n",
       " 'Port of Shanghai': 174549236.3,\n",
       " 'Port of Hamburg_Czeck': 679520.2497,\n",
       " 'Port of Alexandria': 2083553.909,\n",
       " 'Port of Marseille': 1090975.226,\n",
       " 'Port of Hamburg_Germany': 7439233.572,\n",
       " 'Port of Budapest': 33423.521,\n",
       " 'Port of Jawaharlal Nehru': 36697735.91,\n",
       " 'Port of Tanjung Priok': 1158608.705,\n",
       " 'Port of Bandar Abbas': 12288124.19,\n",
       " 'Port of Haifa': 55964.6881,\n",
       " 'Port of Gioia Tauro': 4143159.023,\n",
       " 'Port of Nagoya': 16087392.42,\n",
       " 'Port of Aqaba': 26211.20016,\n",
       " 'Port of Busan': 12220325.9,\n",
       " 'Port of Manzanillo': 3391773.351,\n",
       " 'Port of Casablanca': 94405.71585,\n",
       " 'Port of Rotterdam': 1188401.541,\n",
       " 'Port of Salalah': 345449.5083,\n",
       " 'Port of Karachi': 581771.9193,\n",
       " 'Port of Gdansk': 1617356.557,\n",
       " 'Port of Doha': 857772.4871,\n",
       " 'Port of Vladivostok': 7688763.821,\n",
       " 'Port of Novorossiysk': 3750207.916,\n",
       " 'Port of St. Petersburg': 3793349.172,\n",
       " 'Port of King Abdul Aziz': 587030.7966,\n",
       " 'Port of Jeddah': 330012.7357,\n",
       " 'Port of Bratislava': 828258.7044,\n",
       " 'Port of Durban': 1062704.488,\n",
       " 'Port of Algeciras': 2506427.832,\n",
       " 'Port of Gothenburg': 1020455.739,\n",
       " 'Port of Latakia': 6807.982054,\n",
       " 'Port of Kaohsiung': 3982299.048,\n",
       " 'Port of Bangkok': 742013.6356,\n",
       " 'Port of Mersin': 5765276.992,\n",
       " 'Port of Odessa': 81761.53917,\n",
       " 'Port of Jebel Ali': 715075.2826,\n",
       " 'Port of Immingham': 1240430.535,\n",
       " 'Port of New York': 9068509.538,\n",
       " 'Port of Los Angeles': 6320971.137,\n",
       " 'Port of Saigon': 21581546.32}"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "HSS_supply"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set Problem Variables\n",
    "prob = LpProblem(\"Transportation\", LpMinimize)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Transportation:\n",
       "MINIMIZE\n",
       "None\n",
       "VARIABLES"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Set Problem Variables\n",
    "routes = [(i,j) for i in supply_points for j in demand_points]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[('Port of Buenos Aires', 'Port of Mersin'),\n",
       " ('Port of Buenos Aires', 'Port of Jebel Ali'),\n",
       " ('Port of Newcastle', 'Port of Mersin'),\n",
       " ('Port of Newcastle', 'Port of Jebel Ali'),\n",
       " ('Port of Hedland', 'Port of Mersin'),\n",
       " ('Port of Hedland', 'Port of Jebel Ali'),\n",
       " ('Port of Vienna', 'Port of Mersin'),\n",
       " ('Port of Vienna', 'Port of Jebel Ali'),\n",
       " ('Port of Antwerp', 'Port of Mersin'),\n",
       " ('Port of Antwerp', 'Port of Jebel Ali'),\n",
       " ('Port of Santos', 'Port of Mersin'),\n",
       " ('Port of Santos', 'Port of Jebel Ali'),\n",
       " ('Port of Montreal', 'Port of Mersin'),\n",
       " ('Port of Montreal', 'Port of Jebel Ali'),\n",
       " ('Port of Vancouver', 'Port of Mersin'),\n",
       " ('Port of Vancouver', 'Port of Jebel Ali'),\n",
       " ('Port of Shanghai', 'Port of Mersin'),\n",
       " ('Port of Shanghai', 'Port of Jebel Ali'),\n",
       " ('Port of Hamburg_Czeck', 'Port of Mersin'),\n",
       " ('Port of Hamburg_Czeck', 'Port of Jebel Ali'),\n",
       " ('Port of Alexandria', 'Port of Mersin'),\n",
       " ('Port of Alexandria', 'Port of Jebel Ali'),\n",
       " ('Port of Marseille', 'Port of Mersin'),\n",
       " ('Port of Marseille', 'Port of Jebel Ali'),\n",
       " ('Port of Hamburg_Germany', 'Port of Mersin'),\n",
       " ('Port of Hamburg_Germany', 'Port of Jebel Ali'),\n",
       " ('Port of Budapest', 'Port of Mersin'),\n",
       " ('Port of Budapest', 'Port of Jebel Ali'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Mersin'),\n",
       " ('Port of Jawaharlal Nehru', 'Port of Jebel Ali'),\n",
       " ('Port of Tanjung Priok', 'Port of Mersin'),\n",
       " ('Port of Tanjung Priok', 'Port of Jebel Ali'),\n",
       " ('Port of Bandar Abbas', 'Port of Mersin'),\n",
       " ('Port of Bandar Abbas', 'Port of Jebel Ali'),\n",
       " ('Port of Haifa', 'Port of Mersin'),\n",
       " ('Port of Haifa', 'Port of Jebel Ali'),\n",
       " ('Port of Gioia Tauro', 'Port of Mersin'),\n",
       " ('Port of Gioia Tauro', 'Port of Jebel Ali'),\n",
       " ('Port of Nagoya', 'Port of Mersin'),\n",
       " ('Port of Nagoya', 'Port of Jebel Ali'),\n",
       " ('Port of Aqaba', 'Port of Mersin'),\n",
       " ('Port of Aqaba', 'Port of Jebel Ali'),\n",
       " ('Port of Busan', 'Port of Mersin'),\n",
       " ('Port of Busan', 'Port of Jebel Ali'),\n",
       " ('Port of Manzanillo', 'Port of Mersin'),\n",
       " ('Port of Manzanillo', 'Port of Jebel Ali'),\n",
       " ('Port of Casablanca', 'Port of Mersin'),\n",
       " ('Port of Casablanca', 'Port of Jebel Ali'),\n",
       " ('Port of Rotterdam', 'Port of Mersin'),\n",
       " ('Port of Rotterdam', 'Port of Jebel Ali'),\n",
       " ('Port of Salalah', 'Port of Mersin'),\n",
       " ('Port of Salalah', 'Port of Jebel Ali'),\n",
       " ('Port of Karachi', 'Port of Mersin'),\n",
       " ('Port of Karachi', 'Port of Jebel Ali'),\n",
       " ('Port of Gdansk', 'Port of Mersin'),\n",
       " ('Port of Gdansk', 'Port of Jebel Ali'),\n",
       " ('Port of Doha', 'Port of Mersin'),\n",
       " ('Port of Doha', 'Port of Jebel Ali'),\n",
       " ('Port of Vladivostok', 'Port of Mersin'),\n",
       " ('Port of Vladivostok', 'Port of Jebel Ali'),\n",
       " ('Port of Novorossiysk', 'Port of Mersin'),\n",
       " ('Port of Novorossiysk', 'Port of Jebel Ali'),\n",
       " ('Port of St. Petersburg', 'Port of Mersin'),\n",
       " ('Port of St. Petersburg', 'Port of Jebel Ali'),\n",
       " ('Port of King Abdul Aziz', 'Port of Mersin'),\n",
       " ('Port of King Abdul Aziz', 'Port of Jebel Ali'),\n",
       " ('Port of Jeddah', 'Port of Mersin'),\n",
       " ('Port of Jeddah', 'Port of Jebel Ali'),\n",
       " ('Port of Bratislava', 'Port of Mersin'),\n",
       " ('Port of Bratislava', 'Port of Jebel Ali'),\n",
       " ('Port of Durban', 'Port of Mersin'),\n",
       " ('Port of Durban', 'Port of Jebel Ali'),\n",
       " ('Port of Algeciras', 'Port of Mersin'),\n",
       " ('Port of Algeciras', 'Port of Jebel Ali'),\n",
       " ('Port of Gothenburg', 'Port of Mersin'),\n",
       " ('Port of Gothenburg', 'Port of Jebel Ali'),\n",
       " ('Port of Latakia', 'Port of Mersin'),\n",
       " ('Port of Latakia', 'Port of Jebel Ali'),\n",
       " ('Port of Kaohsiung', 'Port of Mersin'),\n",
       " ('Port of Kaohsiung', 'Port of Jebel Ali'),\n",
       " ('Port of Bangkok', 'Port of Mersin'),\n",
       " ('Port of Bangkok', 'Port of Jebel Ali'),\n",
       " ('Port of Mersin', 'Port of Mersin'),\n",
       " ('Port of Mersin', 'Port of Jebel Ali'),\n",
       " ('Port of Odessa', 'Port of Mersin'),\n",
       " ('Port of Odessa', 'Port of Jebel Ali'),\n",
       " ('Port of Jebel Ali', 'Port of Mersin'),\n",
       " ('Port of Jebel Ali', 'Port of Jebel Ali'),\n",
       " ('Port of Immingham', 'Port of Mersin'),\n",
       " ('Port of Immingham', 'Port of Jebel Ali'),\n",
       " ('Port of New York', 'Port of Mersin'),\n",
       " ('Port of New York', 'Port of Jebel Ali'),\n",
       " ('Port of Los Angeles', 'Port of Mersin'),\n",
       " ('Port of Los Angeles', 'Port of Jebel Ali'),\n",
       " ('Port of Saigon', 'Port of Mersin'),\n",
       " ('Port of Saigon', 'Port of Jebel Ali')]"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "routes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Decision Variables\n",
    "X = LpVariable.dicts(\"ShipmentAmount\",(supply_points, demand_points),0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Port of Buenos Aires': {'Port of Mersin': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali},\n",
       " 'Port of Newcastle': {'Port of Mersin': ShipmentAmount_Port_of_Newcastle_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali},\n",
       " 'Port of Hedland': {'Port of Mersin': ShipmentAmount_Port_of_Hedland_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali},\n",
       " 'Port of Vienna': {'Port of Mersin': ShipmentAmount_Port_of_Vienna_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali},\n",
       " 'Port of Antwerp': {'Port of Mersin': ShipmentAmount_Port_of_Antwerp_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali},\n",
       " 'Port of Santos': {'Port of Mersin': ShipmentAmount_Port_of_Santos_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali},\n",
       " 'Port of Montreal': {'Port of Mersin': ShipmentAmount_Port_of_Montreal_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali},\n",
       " 'Port of Vancouver': {'Port of Mersin': ShipmentAmount_Port_of_Vancouver_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali},\n",
       " 'Port of Shanghai': {'Port of Mersin': ShipmentAmount_Port_of_Shanghai_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali},\n",
       " 'Port of Hamburg_Czeck': {'Port of Mersin': ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali},\n",
       " 'Port of Alexandria': {'Port of Mersin': ShipmentAmount_Port_of_Alexandria_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali},\n",
       " 'Port of Marseille': {'Port of Mersin': ShipmentAmount_Port_of_Marseille_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali},\n",
       " 'Port of Hamburg_Germany': {'Port of Mersin': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali},\n",
       " 'Port of Budapest': {'Port of Mersin': ShipmentAmount_Port_of_Budapest_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali},\n",
       " 'Port of Jawaharlal Nehru': {'Port of Mersin': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali},\n",
       " 'Port of Tanjung Priok': {'Port of Mersin': ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali},\n",
       " 'Port of Bandar Abbas': {'Port of Mersin': ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali},\n",
       " 'Port of Haifa': {'Port of Mersin': ShipmentAmount_Port_of_Haifa_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali},\n",
       " 'Port of Gioia Tauro': {'Port of Mersin': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali},\n",
       " 'Port of Nagoya': {'Port of Mersin': ShipmentAmount_Port_of_Nagoya_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali},\n",
       " 'Port of Aqaba': {'Port of Mersin': ShipmentAmount_Port_of_Aqaba_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali},\n",
       " 'Port of Busan': {'Port of Mersin': ShipmentAmount_Port_of_Busan_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali},\n",
       " 'Port of Manzanillo': {'Port of Mersin': ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali},\n",
       " 'Port of Casablanca': {'Port of Mersin': ShipmentAmount_Port_of_Casablanca_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali},\n",
       " 'Port of Rotterdam': {'Port of Mersin': ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali},\n",
       " 'Port of Salalah': {'Port of Mersin': ShipmentAmount_Port_of_Salalah_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali},\n",
       " 'Port of Karachi': {'Port of Mersin': ShipmentAmount_Port_of_Karachi_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali},\n",
       " 'Port of Gdansk': {'Port of Mersin': ShipmentAmount_Port_of_Gdansk_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali},\n",
       " 'Port of Doha': {'Port of Mersin': ShipmentAmount_Port_of_Doha_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali},\n",
       " 'Port of Vladivostok': {'Port of Mersin': ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali},\n",
       " 'Port of Novorossiysk': {'Port of Mersin': ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali},\n",
       " 'Port of St. Petersburg': {'Port of Mersin': ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali},\n",
       " 'Port of King Abdul Aziz': {'Port of Mersin': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali},\n",
       " 'Port of Jeddah': {'Port of Mersin': ShipmentAmount_Port_of_Jeddah_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali},\n",
       " 'Port of Bratislava': {'Port of Mersin': ShipmentAmount_Port_of_Bratislava_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali},\n",
       " 'Port of Durban': {'Port of Mersin': ShipmentAmount_Port_of_Durban_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali},\n",
       " 'Port of Algeciras': {'Port of Mersin': ShipmentAmount_Port_of_Algeciras_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali},\n",
       " 'Port of Gothenburg': {'Port of Mersin': ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali},\n",
       " 'Port of Latakia': {'Port of Mersin': ShipmentAmount_Port_of_Latakia_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali},\n",
       " 'Port of Kaohsiung': {'Port of Mersin': ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali},\n",
       " 'Port of Bangkok': {'Port of Mersin': ShipmentAmount_Port_of_Bangkok_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali},\n",
       " 'Port of Mersin': {'Port of Mersin': ShipmentAmount_Port_of_Mersin_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali},\n",
       " 'Port of Odessa': {'Port of Mersin': ShipmentAmount_Port_of_Odessa_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali},\n",
       " 'Port of Jebel Ali': {'Port of Mersin': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali},\n",
       " 'Port of Immingham': {'Port of Mersin': ShipmentAmount_Port_of_Immingham_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali},\n",
       " 'Port of New York': {'Port of Mersin': ShipmentAmount_Port_of_New_York_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali},\n",
       " 'Port of Los Angeles': {'Port of Mersin': ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali},\n",
       " 'Port of Saigon': {'Port of Mersin': ShipmentAmount_Port_of_Saigon_Port_of_Mersin,\n",
       "  'Port of Jebel Ali': ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali}}"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "X"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Objective Function\n",
    "prob += sum(X[i][j]*distance[i][j] for (i,j) in routes)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Transportation:\n",
       "MINIMIZE\n",
       "3396*ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali + 546*ShipmentAmount_Port_of_Alexandria_Port_of_Mersin + 5377*ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali + 2102*ShipmentAmount_Port_of_Algeciras_Port_of_Mersin + 6938*ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali + 3664*ShipmentAmount_Port_of_Antwerp_Port_of_Mersin + 2942*ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali + 778*ShipmentAmount_Port_of_Aqaba_Port_of_Mersin + 173*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali + 3520*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin + 4847*ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali + 6766*ShipmentAmount_Port_of_Bangkok_Port_of_Mersin + 5463*ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali + 2130*ShipmentAmount_Port_of_Bratislava_Port_of_Mersin + 5360*ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali + 2028*ShipmentAmount_Port_of_Budapest_Port_of_Mersin + 9168*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali + 8606*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin + 7143*ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali + 9062*ShipmentAmount_Port_of_Busan_Port_of_Mersin + 5598*ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali + 2324*ShipmentAmount_Port_of_Casablanca_Port_of_Mersin + 187*ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali + 3763*ShipmentAmount_Port_of_Doha_Port_of_Mersin + 4572*ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali + 5530*ShipmentAmount_Port_of_Durban_Port_of_Mersin + 8025*ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali + 4751*ShipmentAmount_Port_of_Gdansk_Port_of_Mersin + 4366*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali + 1091*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin + 7573*ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali + 4299*ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin + 3366*ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali + 233*ShipmentAmount_Port_of_Haifa_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin + 5779*ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali + 7584*ShipmentAmount_Port_of_Hedland_Port_of_Mersin + 7080*ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali + 3804*ShipmentAmount_Port_of_Immingham_Port_of_Mersin + 1335*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali + 3720*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin + 2371*ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali + 1205*ShipmentAmount_Port_of_Jeddah_Port_of_Mersin + 6063*ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali + 7981*ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin + 746*ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali + 3604*ShipmentAmount_Port_of_Karachi_Port_of_Mersin + 389*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali + 3885*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin + 3580*ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali + 89*ShipmentAmount_Port_of_Latakia_Port_of_Mersin + 11116*ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali + 11024*ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin + 12790*ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali + 9516*ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin + 5080*ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali + 1806*ShipmentAmount_Port_of_Marseille_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali + 9470*ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali + 6195*ShipmentAmount_Port_of_Montreal_Port_of_Mersin + 7505*ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali + 9424*ShipmentAmount_Port_of_Nagoya_Port_of_Mersin + 8918*ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali + 5617*ShipmentAmount_Port_of_New_York_Port_of_Mersin + 8290*ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali + 10095*ShipmentAmount_Port_of_Newcastle_Port_of_Mersin + 4885*ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali + 1552*ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin + 4703*ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali + 1370*ShipmentAmount_Port_of_Odessa_Port_of_Mersin + 7029*ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali + 3755*ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin + 4709*ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali + 6628*ShipmentAmount_Port_of_Saigon_Port_of_Mersin + 999*ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali + 2577*ShipmentAmount_Port_of_Salalah_Port_of_Mersin + 9407*ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali + 7528*ShipmentAmount_Port_of_Santos_Port_of_Mersin + 6627*ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali + 8546*ShipmentAmount_Port_of_Shanghai_Port_of_Mersin + 8532*ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali + 5258*ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin + 4405*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali + 6210*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin + 10440*ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali + 12320*ShipmentAmount_Port_of_Vancouver_Port_of_Mersin + 5475*ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali + 2142*ShipmentAmount_Port_of_Vienna_Port_of_Mersin + 7727*ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali + 9645*ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin + 0\n",
       "VARIABLES\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin Continuous"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Transportation:\n",
       "MINIMIZE\n",
       "3396*ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali + 546*ShipmentAmount_Port_of_Alexandria_Port_of_Mersin + 5377*ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali + 2102*ShipmentAmount_Port_of_Algeciras_Port_of_Mersin + 6938*ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali + 3664*ShipmentAmount_Port_of_Antwerp_Port_of_Mersin + 2942*ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali + 778*ShipmentAmount_Port_of_Aqaba_Port_of_Mersin + 173*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali + 3520*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin + 4847*ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali + 6766*ShipmentAmount_Port_of_Bangkok_Port_of_Mersin + 5463*ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali + 2130*ShipmentAmount_Port_of_Bratislava_Port_of_Mersin + 5360*ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali + 2028*ShipmentAmount_Port_of_Budapest_Port_of_Mersin + 9168*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali + 8606*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin + 7143*ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali + 9062*ShipmentAmount_Port_of_Busan_Port_of_Mersin + 5598*ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali + 2324*ShipmentAmount_Port_of_Casablanca_Port_of_Mersin + 187*ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali + 3763*ShipmentAmount_Port_of_Doha_Port_of_Mersin + 4572*ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali + 5530*ShipmentAmount_Port_of_Durban_Port_of_Mersin + 8025*ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali + 4751*ShipmentAmount_Port_of_Gdansk_Port_of_Mersin + 4366*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali + 1091*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin + 7573*ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali + 4299*ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin + 3366*ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali + 233*ShipmentAmount_Port_of_Haifa_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin + 5779*ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali + 7584*ShipmentAmount_Port_of_Hedland_Port_of_Mersin + 7080*ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali + 3804*ShipmentAmount_Port_of_Immingham_Port_of_Mersin + 1335*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali + 3720*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin + 2371*ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali + 1205*ShipmentAmount_Port_of_Jeddah_Port_of_Mersin + 6063*ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali + 7981*ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin + 746*ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali + 3604*ShipmentAmount_Port_of_Karachi_Port_of_Mersin + 389*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali + 3885*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin + 3580*ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali + 89*ShipmentAmount_Port_of_Latakia_Port_of_Mersin + 11116*ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali + 11024*ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin + 12790*ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali + 9516*ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin + 5080*ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali + 1806*ShipmentAmount_Port_of_Marseille_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali + 9470*ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali + 6195*ShipmentAmount_Port_of_Montreal_Port_of_Mersin + 7505*ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali + 9424*ShipmentAmount_Port_of_Nagoya_Port_of_Mersin + 8918*ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali + 5617*ShipmentAmount_Port_of_New_York_Port_of_Mersin + 8290*ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali + 10095*ShipmentAmount_Port_of_Newcastle_Port_of_Mersin + 4885*ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali + 1552*ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin + 4703*ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali + 1370*ShipmentAmount_Port_of_Odessa_Port_of_Mersin + 7029*ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali + 3755*ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin + 4709*ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali + 6628*ShipmentAmount_Port_of_Saigon_Port_of_Mersin + 999*ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali + 2577*ShipmentAmount_Port_of_Salalah_Port_of_Mersin + 9407*ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali + 7528*ShipmentAmount_Port_of_Santos_Port_of_Mersin + 6627*ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali + 8546*ShipmentAmount_Port_of_Shanghai_Port_of_Mersin + 8532*ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali + 5258*ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin + 4405*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali + 6210*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin + 10440*ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali + 12320*ShipmentAmount_Port_of_Vancouver_Port_of_Mersin + 5475*ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali + 2142*ShipmentAmount_Port_of_Vienna_Port_of_Mersin + 7727*ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali + 9645*ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin + 0\n",
       "SUBJECT TO\n",
       "_C1: ShipmentAmount_Port_of_Alexandria_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Algeciras_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Antwerp_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Aqaba_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bangkok_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bratislava_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Budapest_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Busan_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Casablanca_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Doha_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Durban_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gdansk_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Haifa_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hedland_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Immingham_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jeddah_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Karachi_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Latakia_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Marseille_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Mersin_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Montreal_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Nagoya_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_New_York_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Newcastle_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Odessa_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Saigon_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Salalah_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Santos_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Shanghai_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vancouver_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vienna_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin >= 167434730.9\n",
       "\n",
       "_C2: ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali >= 192529672.9\n",
       "\n",
       "VARIABLES\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Mersin_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin Continuous"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Constraints\n",
    "for j in demand_points:\n",
    "    prob += sum(X[i][j] for i in supply_points) >= HSS_demand[j]\n",
    "    \n",
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Transportation:\n",
       "MINIMIZE\n",
       "3396*ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali + 546*ShipmentAmount_Port_of_Alexandria_Port_of_Mersin + 5377*ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali + 2102*ShipmentAmount_Port_of_Algeciras_Port_of_Mersin + 6938*ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali + 3664*ShipmentAmount_Port_of_Antwerp_Port_of_Mersin + 2942*ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali + 778*ShipmentAmount_Port_of_Aqaba_Port_of_Mersin + 173*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali + 3520*ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin + 4847*ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali + 6766*ShipmentAmount_Port_of_Bangkok_Port_of_Mersin + 5463*ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali + 2130*ShipmentAmount_Port_of_Bratislava_Port_of_Mersin + 5360*ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali + 2028*ShipmentAmount_Port_of_Budapest_Port_of_Mersin + 9168*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali + 8606*ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin + 7143*ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali + 9062*ShipmentAmount_Port_of_Busan_Port_of_Mersin + 5598*ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali + 2324*ShipmentAmount_Port_of_Casablanca_Port_of_Mersin + 187*ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali + 3763*ShipmentAmount_Port_of_Doha_Port_of_Mersin + 4572*ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali + 5530*ShipmentAmount_Port_of_Durban_Port_of_Mersin + 8025*ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali + 4751*ShipmentAmount_Port_of_Gdansk_Port_of_Mersin + 4366*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali + 1091*ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin + 7573*ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali + 4299*ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin + 3366*ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali + 233*ShipmentAmount_Port_of_Haifa_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin + 7306*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali + 4032*ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin + 5779*ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali + 7584*ShipmentAmount_Port_of_Hedland_Port_of_Mersin + 7080*ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali + 3804*ShipmentAmount_Port_of_Immingham_Port_of_Mersin + 1335*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali + 3720*ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin + 2371*ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali + 1205*ShipmentAmount_Port_of_Jeddah_Port_of_Mersin + 6063*ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali + 7981*ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin + 746*ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali + 3604*ShipmentAmount_Port_of_Karachi_Port_of_Mersin + 389*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali + 3885*ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin + 3580*ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali + 89*ShipmentAmount_Port_of_Latakia_Port_of_Mersin + 11116*ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali + 11024*ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin + 12790*ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali + 9516*ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin + 5080*ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali + 1806*ShipmentAmount_Port_of_Marseille_Port_of_Mersin + 3576*ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali + 9470*ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali + 6195*ShipmentAmount_Port_of_Montreal_Port_of_Mersin + 7505*ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali + 9424*ShipmentAmount_Port_of_Nagoya_Port_of_Mersin + 8918*ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali + 5617*ShipmentAmount_Port_of_New_York_Port_of_Mersin + 8290*ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali + 10095*ShipmentAmount_Port_of_Newcastle_Port_of_Mersin + 4885*ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali + 1552*ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin + 4703*ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali + 1370*ShipmentAmount_Port_of_Odessa_Port_of_Mersin + 7029*ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali + 3755*ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin + 4709*ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali + 6628*ShipmentAmount_Port_of_Saigon_Port_of_Mersin + 999*ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali + 2577*ShipmentAmount_Port_of_Salalah_Port_of_Mersin + 9407*ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali + 7528*ShipmentAmount_Port_of_Santos_Port_of_Mersin + 6627*ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali + 8546*ShipmentAmount_Port_of_Shanghai_Port_of_Mersin + 8532*ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali + 5258*ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin + 4405*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali + 6210*ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin + 10440*ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali + 12320*ShipmentAmount_Port_of_Vancouver_Port_of_Mersin + 5475*ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali + 2142*ShipmentAmount_Port_of_Vienna_Port_of_Mersin + 7727*ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali + 9645*ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin + 0\n",
       "SUBJECT TO\n",
       "_C1: ShipmentAmount_Port_of_Alexandria_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Algeciras_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Antwerp_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Aqaba_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bangkok_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Bratislava_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Budapest_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Busan_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Casablanca_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Doha_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Durban_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gdansk_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Haifa_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Hedland_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Immingham_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Jeddah_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Karachi_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Latakia_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Marseille_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Mersin_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Montreal_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Nagoya_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_New_York_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Newcastle_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Odessa_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Saigon_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Salalah_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Santos_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Shanghai_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vancouver_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vienna_Port_of_Mersin\n",
       " + ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin >= 167434730.9\n",
       "\n",
       "_C2: ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali >= 192529672.9\n",
       "\n",
       "_C3: ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin = 866877.0693\n",
       "\n",
       "_C4: ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Newcastle_Port_of_Mersin = 173144.9288\n",
       "\n",
       "_C5: ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hedland_Port_of_Mersin = 821572.1032\n",
       "\n",
       "_C6: ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vienna_Port_of_Mersin = 1773459.805\n",
       "\n",
       "_C7: ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Antwerp_Port_of_Mersin = 459052.6648\n",
       "\n",
       "_C8: ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Santos_Port_of_Mersin = 5883513.708\n",
       "\n",
       "_C9: ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Montreal_Port_of_Mersin = 524041.6326\n",
       "\n",
       "_C10: ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vancouver_Port_of_Mersin = 1760443.821\n",
       "\n",
       "_C11: ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Shanghai_Port_of_Mersin = 174549236.3\n",
       "\n",
       "_C12: ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin = 679520.2497\n",
       "\n",
       "_C13: ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Alexandria_Port_of_Mersin = 2083553.909\n",
       "\n",
       "_C14: ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Marseille_Port_of_Mersin = 1090975.226\n",
       "\n",
       "_C15: ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin = 7439233.572\n",
       "\n",
       "_C16: ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Budapest_Port_of_Mersin = 33423.521\n",
       "\n",
       "_C17: ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin = 36697735.91\n",
       "\n",
       "_C18: ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin = 1158608.705\n",
       "\n",
       "_C19: ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin = 12288124.19\n",
       "\n",
       "_C20: ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Haifa_Port_of_Mersin = 55964.6881\n",
       "\n",
       "_C21: ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin = 4143159.023\n",
       "\n",
       "_C22: ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Nagoya_Port_of_Mersin = 16087392.42\n",
       "\n",
       "_C23: ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Aqaba_Port_of_Mersin = 26211.20016\n",
       "\n",
       "_C24: ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Busan_Port_of_Mersin = 12220325.9\n",
       "\n",
       "_C25: ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin = 3391773.351\n",
       "\n",
       "_C26: ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Casablanca_Port_of_Mersin = 94405.71585\n",
       "\n",
       "_C27: ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin = 1188401.541\n",
       "\n",
       "_C28: ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Salalah_Port_of_Mersin = 345449.5083\n",
       "\n",
       "_C29: ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Karachi_Port_of_Mersin = 581771.9193\n",
       "\n",
       "_C30: ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gdansk_Port_of_Mersin = 1617356.557\n",
       "\n",
       "_C31: ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Doha_Port_of_Mersin = 857772.4871\n",
       "\n",
       "_C32: ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin = 7688763.821\n",
       "\n",
       "_C33: ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin = 3750207.916\n",
       "\n",
       "_C34: ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin = 3793349.172\n",
       "\n",
       "_C35: ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin = 587030.7966\n",
       "\n",
       "_C36: ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jeddah_Port_of_Mersin = 330012.7357\n",
       "\n",
       "_C37: ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bratislava_Port_of_Mersin = 828258.7044\n",
       "\n",
       "_C38: ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Durban_Port_of_Mersin = 1062704.488\n",
       "\n",
       "_C39: ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Algeciras_Port_of_Mersin = 2506427.832\n",
       "\n",
       "_C40: ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin = 1020455.739\n",
       "\n",
       "_C41: ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Latakia_Port_of_Mersin = 6807.982054\n",
       "\n",
       "_C42: ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin = 3982299.048\n",
       "\n",
       "_C43: ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Bangkok_Port_of_Mersin = 742013.6356\n",
       "\n",
       "_C44: ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Mersin_Port_of_Mersin = 5765276.992\n",
       "\n",
       "_C45: ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Odessa_Port_of_Mersin = 81761.53917\n",
       "\n",
       "_C46: ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin = 715075.2826\n",
       "\n",
       "_C47: ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Immingham_Port_of_Mersin = 1240430.535\n",
       "\n",
       "_C48: ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_New_York_Port_of_Mersin = 9068509.538\n",
       "\n",
       "_C49: ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin = 6320971.137\n",
       "\n",
       "_C50: ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali\n",
       " + ShipmentAmount_Port_of_Saigon_Port_of_Mersin = 21581546.32\n",
       "\n",
       "VARIABLES\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Alexandria_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Algeciras_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Antwerp_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Aqaba_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bangkok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Bratislava_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Budapest_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Busan_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Casablanca_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Doha_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Durban_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gdansk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Haifa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Hedland_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Immingham_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Jeddah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Karachi_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Latakia_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Marseille_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Mersin_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Mersin_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Montreal_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Nagoya_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_New_York_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Newcastle_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Odessa_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Saigon_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Salalah_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Santos_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Shanghai_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vancouver_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vienna_Port_of_Mersin Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Jebel_Ali Continuous\n",
       "ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin Continuous"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Constraints\n",
    "for i in supply_points:\n",
    "    prob += sum(X[i][j] for j in demand_points) == HSS_supply[i]\n",
    "prob"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Status: Optimal\n",
      "ShipmentAmount_Port_of_Alexandria_Port_of_Mersin = 2083553.9\n",
      "ShipmentAmount_Port_of_Algeciras_Port_of_Mersin = 2506427.8\n",
      "ShipmentAmount_Port_of_Antwerp_Port_of_Mersin = 459052.66\n",
      "ShipmentAmount_Port_of_Aqaba_Port_of_Mersin = 26211.2\n",
      "ShipmentAmount_Port_of_Bandar_Abbas_Port_of_Jebel_Ali = 12288124.0\n",
      "ShipmentAmount_Port_of_Bangkok_Port_of_Mersin = 742013.64\n",
      "ShipmentAmount_Port_of_Bratislava_Port_of_Mersin = 828258.7\n",
      "ShipmentAmount_Port_of_Budapest_Port_of_Mersin = 33423.521\n",
      "ShipmentAmount_Port_of_Buenos_Aires_Port_of_Mersin = 866877.07\n",
      "ShipmentAmount_Port_of_Busan_Port_of_Mersin = 12220326.0\n",
      "ShipmentAmount_Port_of_Casablanca_Port_of_Mersin = 94405.716\n",
      "ShipmentAmount_Port_of_Doha_Port_of_Jebel_Ali = 857772.49\n",
      "ShipmentAmount_Port_of_Durban_Port_of_Mersin = 1062704.5\n",
      "ShipmentAmount_Port_of_Gdansk_Port_of_Mersin = 1617356.6\n",
      "ShipmentAmount_Port_of_Gioia_Tauro_Port_of_Mersin = 4143159.0\n",
      "ShipmentAmount_Port_of_Gothenburg_Port_of_Mersin = 1020455.7\n",
      "ShipmentAmount_Port_of_Haifa_Port_of_Mersin = 55964.688\n",
      "ShipmentAmount_Port_of_Hamburg_Czeck_Port_of_Mersin = 679520.25\n",
      "ShipmentAmount_Port_of_Hamburg_Germany_Port_of_Mersin = 7439233.6\n",
      "ShipmentAmount_Port_of_Hedland_Port_of_Mersin = 821572.1\n",
      "ShipmentAmount_Port_of_Immingham_Port_of_Mersin = 1240430.5\n",
      "ShipmentAmount_Port_of_Jawaharlal_Nehru_Port_of_Jebel_Ali = 36697736.0\n",
      "ShipmentAmount_Port_of_Jebel_Ali_Port_of_Jebel_Ali = 715075.28\n",
      "ShipmentAmount_Port_of_Jeddah_Port_of_Mersin = 330012.74\n",
      "ShipmentAmount_Port_of_Kaohsiung_Port_of_Mersin = 3982299.0\n",
      "ShipmentAmount_Port_of_Karachi_Port_of_Jebel_Ali = 581771.92\n",
      "ShipmentAmount_Port_of_King_Abdul_Aziz_Port_of_Jebel_Ali = 587030.8\n",
      "ShipmentAmount_Port_of_Latakia_Port_of_Mersin = 6807.9821\n",
      "ShipmentAmount_Port_of_Los_Angeles_Port_of_Mersin = 6320971.1\n",
      "ShipmentAmount_Port_of_Manzanillo_Port_of_Mersin = 3391773.4\n",
      "ShipmentAmount_Port_of_Marseille_Port_of_Mersin = 1090975.2\n",
      "ShipmentAmount_Port_of_Mersin_Port_of_Mersin = 5765277.0\n",
      "ShipmentAmount_Port_of_Montreal_Port_of_Mersin = 524041.63\n",
      "ShipmentAmount_Port_of_Nagoya_Port_of_Mersin = 16087392.0\n",
      "ShipmentAmount_Port_of_New_York_Port_of_Mersin = 9068509.5\n",
      "ShipmentAmount_Port_of_Newcastle_Port_of_Mersin = 173144.93\n",
      "ShipmentAmount_Port_of_Novorossiysk_Port_of_Mersin = 3750207.9\n",
      "ShipmentAmount_Port_of_Odessa_Port_of_Mersin = 81761.539\n",
      "ShipmentAmount_Port_of_Rotterdam_Port_of_Mersin = 1188401.5\n",
      "ShipmentAmount_Port_of_Saigon_Port_of_Mersin = 21581546.0\n",
      "ShipmentAmount_Port_of_Salalah_Port_of_Mersin = 345449.51\n",
      "ShipmentAmount_Port_of_Santos_Port_of_Mersin = 5883513.7\n",
      "ShipmentAmount_Port_of_Shanghai_Port_of_Jebel_Ali = 140802160.0\n",
      "ShipmentAmount_Port_of_Shanghai_Port_of_Mersin = 33747073.0\n",
      "ShipmentAmount_Port_of_St._Petersburg_Port_of_Mersin = 3793349.2\n",
      "ShipmentAmount_Port_of_Tanjung_Priok_Port_of_Mersin = 1158608.7\n",
      "ShipmentAmount_Port_of_Vancouver_Port_of_Mersin = 1760443.8\n",
      "ShipmentAmount_Port_of_Vienna_Port_of_Mersin = 1773459.8\n",
      "ShipmentAmount_Port_of_Vladivostok_Port_of_Mersin = 7688763.8\n",
      "Total kilogram_miles = 2142039008521.6326\n"
     ]
    }
   ],
   "source": [
    "prob.solve()\n",
    "\n",
    "print(\"Status:\", LpStatus[prob.status])\n",
    "\n",
    "for v in prob.variables():\n",
    "    if v.varValue > 0:\n",
    "        print(v.name, \"=\", v.varValue)\n",
    "\n",
    "print(\"Total kilogram_miles =\", value(prob.objective))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
